| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Static Public Member Functions | List of all members
nkAstraeus::ThreeChannelPackUtils Class Referencefinal

Offers utilities to use with the THREE_CHANNEL_PACK enumeration class. More...

## Static Public Member Functions
static nkMemory::StringView | enumToStringLower (THREE_CHANNEL_PACK value)
static THREE_CHANNEL_PACK | stringLowerToEnum (nkMemory::StringView value)

## Detailed Description

Offers utilities to use with the THREE_CHANNEL_PACK enumeration class.

## Member Function Documentation

## ◆ enumToStringLower()

static nkMemory::StringView nkAstraeus::ThreeChannelPackUtils::enumToStringLower | ( | THREE_CHANNEL_PACK | value | ) |
| static

Translates the enumeration value into a lowercase string. For instance, RGB will become "rgb". Any unknown entry will return "unknown".

Parameters

  value | The enumeration value to translate.

Returns
  The enumeration translated as a string.

## ◆ stringLowerToEnum()

static THREE_CHANNEL_PACK nkAstraeus::ThreeChannelPackUtils::stringLowerToEnum | ( | nkMemory::StringView | value | ) |
| static

Translates a lowercase string into the enumeration value. For instance, "rgb" will return RGB. Any unknown string will return RGB.

Parameters

  value | The string to translate

Returns
  The string translated into an enumeration value.

The documentation for this class was generated from the following file:

- Documentation/Headers/NilkinsAstraeus/Graphics/Enums/ThreeChannelPack.h